package com.xiaoyuan.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2019-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tl_school_staff")
@Repository
public class Staff implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer staffId;

    private String realName;

    @TableField("school_ID")
    private Integer schoolId;

    private String schoolname;

    private Integer userId;

    private String userName;

    private Integer Mobilephone;

    private String staffAddress;

    private Integer Status;

    private Date createTime;

    public Integer getStaffId() {
        return staffId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tl_school_staff.teacher_ID
     *
     * @param staffId the value for tl_school_staff.teacher_ID
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tl_school_staff.school_ID
     *
     * @return the value of tl_school_staff.school_ID
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public String getRealName() {
        return realName;
    }
    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tl_school_staff.teacher_ID
     *
     * @param realName the value for tl_school_staff.teacher_ID
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public void setRealName(String realName) {
        this.realName = realName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tl_school_staff.school_ID
     *
     * @return the value of tl_school_staff.school_ID
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public Integer getSchoolId() {
        return schoolId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tl_school_staff.school_ID
     *
     * @param schoolId the value for tl_school_staff.school_ID
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tl_school_staff.schoolname
     *
     * @return the value of tl_school_staff.schoolname
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public String getSchoolname() {
        return schoolname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tl_school_staff.schoolname
     *
     * @param schoolname the value for tl_school_staff.schoolname
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public void setSchoolname(String schoolname) {
        this.schoolname = schoolname == null ? null : schoolname.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tl_school_staff.user_id
     *
     * @return the value of tl_school_staff.user_id
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tl_school_staff.user_id
     *
     * @param userId the value for tl_school_staff.user_id
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tl_school_staff.teacher_mobilephone
     *
     * @return the value of tl_school_staff.teacher_mobilephone
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public String getUsername() {
        return userName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tl_school_staff.user_id
     *
     * @param userName the value for tl_school_staff.user_id
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tl_school_staff.teacher_mobilephone
     *
     * @return the value of tl_school_staff.teacher_mobilephone
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public Integer getMobilephone() {
        return Mobilephone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tl_school_staff.teacher_mobilephone
     *
     * @param Mobilephone the value for tl_school_staff.teacher_mobilephone
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public void setMobilephone(Integer Mobilephone) {
        this.Mobilephone = Mobilephone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tl_school_staff.create_time
     *
     * @return the value of tl_school_staff.create_time
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public Integer getStatus() {
        return Status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tl_school_staff.teacher_mobilephone
     *
     * @param Status the value for tl_school_staff.teacher_mobilephone
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public void setStatus(Integer status) {
        this.Status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tl_school_staff.create_time
     *
     * @return the value of tl_school_staff.create_time
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */

    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tl_school_staff.create_time
     *
     * @param createTime the value for tl_school_staff.create_time
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tl_school_staff.teacher_adress
     *
     * @return the value of tl_school_staff.teacher_adress
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public String getStaffAddress() {
        return staffAddress;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tl_school_staff.teacher_adress
     *
     * @param staffAddress the value for tl_school_staff.teacher_adress
     *
     * @mbggenerated Mon Nov 25 17:21:19 CST 2019
     */
    public void setStaffAddress(String staffAddress) {
        this.staffAddress = staffAddress == null ? null : staffAddress.trim();
    }



}
